package com.xinruke.hostels.central.manage.interfaces.dto.sensitiveword;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * @author yutaipu
 */
@ApiModel("敏感词校验关键字段DTO")
@Data
public class SensitiveWordCheckDetailDTO {

    /**
     * 关键词
     */
    @ApiModelProperty(value = "关键词", required = true)
    @NotNull(message = "关键词不能为空")
    private String guanjianci;

    /**
     * 屏蔽级别:1一般屏蔽；2严重恶劣；
     */
    @ApiModelProperty(value = "屏蔽级别:1一般屏蔽；2严重恶劣；", required = true)
    @NotNull(message = "屏蔽级别不能为空")
    private Byte pingbijibie;

    /**
     * 替换内容
     */
    @ApiModelProperty(value = "替换内容", required = true)
    @NotNull(message = "替换内容不能为空")
    private String tihuanneirong;
}
